<%@ page import="com.oriental.reserve.enums.MessageStatus" %><%--
  User: Yangxp
  Date: 2016/5/19
  Time: 15:55
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<style>
    .table {
        width: 100%;
        padding: 0;
        margin: 0;
    }

    th {
        font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
        color: #4f6b72;
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        border-top: 1px solid #C1DAD7;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: left;
        padding: 6px 6px 6px 12px;
        background: #CAE8EA no-repeat;
    }

    td {
        border-right: 1px solid #C1DAD7;
        border-bottom: 1px solid #C1DAD7;
        background: #fff;
        font-size: 14px;
        padding: 6px 6px 6px 12px;
        color: #4f6b72;
    }

    td.alt {
        background: #F5FAFA;
        color: #797268;
    }

    th.spec, td.spec {
        border-left: 1px solid #C1DAD7;
    }

    /*---------for IE 5.x bug*/
    html > body td {
        font-size: 14px;
    }

    tr.select th, tr.select td {
        background-color: #CAE8EA;
        color: #797268;
    }
</style>
</head>
<body>
<div style="border: dashed grey 1px;padding:2px 0px 5px 0px;margin-left: inherit;margin-right: 5px;
     width: 100%;overflow:auto">
    <%--<st-table-data st-data="vm.item.list" st-caches="vm.cached">--%>
    <table border="1" style="width: 1600px;text-align: center;word-wrap:break-word;word-break:break-all;">
        <thead>
        <tr>
            <td>上报消息ID(MSG_ID)</td>
            <td>上报消息类型</td>
            <td>工作日期</td>
            <td>报表生成日期</td>
            <td>账号</td>
            <td>批次号</td>
            <td>消息状态</td>
            <td>响应代码</td>
            <td>响应信息</td>
        </tr>
        </thead>
        <tr ng-repeat="bean in vm.item.list track by $index">
            <%--<td><input name="check" type="checkbox" ng-model="bean._checked"></td>--%>
                <td>{{bean.messageId}}</td>
                <td>{{bean.messageType}}</td>
                <td>{{bean.workDate|date:'yyyy-MM-dd'}}</td>
                <td>{{bean.generateDate|date:'yyyy-MM-dd'}}</td>
                <td>{{bean.accountNo}}</td>
                <td>{{bean.pkgNo}}</td>
                <td>{{{
                    <%for (MessageStatus e : MessageStatus.values()) {%>
                    '<%=e.getCode()%>':'<%=e.getDesc()%>',
                    <%}%>
                    }[bean.messageStatus]}}</td>
                <td>{{bean.retCode}}</td>
                <td>{{bean.retDesc}}</td>
        </tr>
    </table>

</div>
</body>
</html>
